﻿<phone:PhoneApplicationPage 
    x:Class="DevPhoneToolkitSample.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                            xmlns:DevPhone="clr-namespace:DevPhone.Controls;assembly=DevPhone.Controls.Toolkit"
                            mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="696"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="True" 
    Loaded="PhoneApplicationPageLoaded"> 
	<phone:PhoneApplicationPage.ApplicationBar>
		<shell:ApplicationBar>
			<shell:ApplicationBarIconButton IconUri="/icons/appbar.check.rest.png" Text="Ok" Click="ApplicationBarIconButtonClick"/>
		</shell:ApplicationBar>
	</phone:PhoneApplicationPage.ApplicationBar>
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent" Margin="0,20">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel>
            <Border Background="White" VerticalAlignment="Top" BorderBrush="Gray" BorderThickness="1">
                <Image Name="Logo" Source="/DevPhoneToolkitSample;component/Images/DevPhoneToolkit.png" Stretch="None" VerticalAlignment="Top" HorizontalAlignment="Left" />
            </Border>
        </StackPanel>
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,20,12,10">
            <ScrollViewer>
            <StackPanel>
                <TextBlock Text="Version" Margin="0,30,0,10" />
                <TextBlock x:Name="Vesion" Margin="0,10" Foreground="{StaticResource PhoneAccentBrush}" />
                <TextBlock Text="Description" Margin="0,10"/>
                <TextBlock x:Name="Description" Margin="0,10" Foreground="{StaticResource PhoneAccentBrush}"/>
                <TextBlock Text="Copyright" Margin="0,10"/>
                <TextBlock x:Name="Copyright" Margin="0,10" Foreground="{StaticResource PhoneAccentBrush}"/>
                <TextBlock Text="Oficial Site" Margin="0,10"/>
                <TextBlock Text="http://devphonetoolkit.codeplex.com" Margin="0,10" Foreground="{StaticResource PhoneAccentBrush}"/>
            </StackPanel>
            </ScrollViewer>
        </Grid>
    </Grid>
</phone:PhoneApplicationPage>